dbd197fa1bff2199c684262c22ba24f9c9e1dbb1,desktop/src/main/java/org/geogebra/desktop/gui/view/data/ANOVATable.java,ANOVATable,updatePanel,#,31
Before Change
AnovaStats stats = anovaStats(getCategoryData(dataList));
// first column, degrees of freedom
model.setValueAt(daView.format(stats.dfbg), 0, 0);
model.setValueAt(daView.format(stats.dfwg), 1, 0);
model.setValueAt(daView.format(stats.dfbg + stats.dfwg), 2, 0);
// second column, sum of squares
model.setValueAt(daView.format(stats.ssbg), 0, 1);
model.setValueAt(daView.format(stats.sswg), 1, 1);
model.setValueAt(daView.format(stats.sst), 2, 1);
// third column, mean sum of squares
model.setValueAt(daView.format(stats.msbg), 0, 2);
model.setValueAt(daView.format(stats.mswg), 1, 2);
// fourth column, F test statistics
After Change
AnovaStats stats = ANOVAStatTableModel
.getStatsSilent(dataList);
if (stats != null) {
// first column, degrees of freedom
model.setValueAt(daView.format(stats.getDfbg()), 0, 0);
model.setValueAt(daView.format(stats.getDfwg()), 1, 0);
model.setValueAt(daView.format(stats.getDfbg() + stats.getDfwg()),
2, 0);
// second column, sum of squares
model.setValueAt(daView.format(stats.getSsbg()), 0, 1);
model.setValueAt(daView.format(stats.getSswg()), 1, 1);
model.setValueAt(daView.format(stats.getSst()), 2, 1);
// third column, mean sum of squares
model.setValueAt(daView.format(stats.getMsbg()), 0, 2);
model.setValueAt(daView.format(stats.getMswg()), 1, 2);
// fourth column, F test statistics